import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useChannelStore = defineStore('channel', () => {
  const channelId = ref(0)
  const changeChannelId = (id: number)=>{
    channelId.value = id
  }
  return { channelId, changeChannelId }
})
